package com.tantinevincent.process;

import java.util.ArrayList;
import java.util.List;

import com.tantinevincent.formatter.IFormatter;
import com.tantinevincent.option.Option;
import com.tantinevincent.parser.IParser;
import com.tantinevincent.vector.IVector;
import com.tantinevincent.vector.LabeledVector;

public class ParsingProcess {
	
	private IParser parser;
	
	public ParsingProcess(IParser parser) {
		this.parser = parser;
	}

	public List<LabeledVector> parse(List<String> contexts){
		List<LabeledVector> vectors = new ArrayList<LabeledVector>();
		for( String s : contexts ){
			vectors.add( parser.parse(s) );
		}
		return vectors;
	}
	
	
	
}
